package com.lagou.task16;

import java.io.IOException;

public class SubExceptionMethod extends ExceptionMethod{
    @Override
    //子类重写的方法只能抛出父类异常或者父类异常的子类异常
    public void show() throws IOException {
        super.show();
    }
}
